package com.atguigu03.field_method.filed.method;

import com.atguigu03.field_method.filed.filed.Employee;

public class methodtest {
    public static void main(String[] args) {
        Show show=new Show();
        Employee e1=new Employee();
        show.Shouemp(e1);
        //show.Shouemp(e1);
        e1.Shouemp();
    }
}

 class Show{
    public void Shouemp(Employee emp){
        Employee employee=emp;
        System.out.println(employee.age+" "+employee.Id+" "+employee.salary);
    }
}
